package com.model;

public enum ResultStatusCode {
    OK("00000", "OK"),
    VALIDATE_FAIL("10001","Request parameter validate false"),
    INVALID_CLIENTID("20001", "Invalid clientid"),
    INVALID_PASSWORD("20002", "User name or password is incorrect"),
    INVALID_CAPTCHA("20003", "Invalid captcha or captcha overdue"),
    INVALID_TOKEN("20004", "Invalid token"),
    NO_PERMISSION("20005", "No permission"),
    SYSTEM_ERROR("99999","System error");


    private String statuscode;
    private String statusmsg;

    ResultStatusCode(String statuscode, String statusmsg) {
        this.statuscode = statuscode;
        this.statusmsg = statusmsg;
    }

    public String getStatuscode() {
        return statuscode;
    }

    public void setStatuscode(String statuscode) {
        this.statuscode = statuscode;
    }

    public String getStatusmsg() {
        return statusmsg;
    }

    public void setStatusmsg(String statusmsg) {
        this.statusmsg = statusmsg;
    }
}
